/** @type {import('next').NextConfig} */
import createNextIntlPlugin from "next-intl/plugin";
const withNextIntl = createNextIntlPlugin();

const nextConfig = {
  // output: 'export',
  // output: "standalone",
  images: {
    remotePatterns: [
      {
        protocol: "http",
        hostname: "localhost*",
        port: "",
        pathname: "/upload/**",
      },
      {
        protocol: "http",
        hostname: "dongsongkeji.com.cn",
        port: "",
        pathname: "/upload/**",
      },
      {
        protocol: "http",
        hostname: "i18nport.dongsongkeji.com.cn",
        port: "",
        pathname: "/upload/**",
      },
    ],
  },
  reactStrictMode: false,
};

export default withNextIntl(nextConfig);
